export const excelColumns = [
  {
    header: '资源名',
    key: 'label',
  },
  {
    header: '唯一属性',
    key: 'uniqueProp',
  },
  {
    header: '父唯一属性',
    key: 'parentUniqueProp',
  },
  {
    header: '类型',
    key: 'type',
  },
]
export const templateData = {
  label: '测试资源名',
  uniqueProp: 'testResourceLabel',
  parentUniqueProp: '',
  type: '1',
}

export const ruleMap: any = {
  label: {
    maxLength: 100,
    required: true,
  },
  uniqueProp: {
    maxLength: 100,
    required: true,
  },
  parentUniqueProp: {
    maxLength: 100,
    required: false,
  },
  type: {
    maxLength: 100,
    required: false,
  },
}
